package com.ruoyi.applet.service;

import com.ruoyi.applet.domain.AppletExamUser;
import com.brisk.common.core.domain.AjaxResult;

import java.util.List;

/**
 * examUserService接口
 *
 * @author PengFei Deng
 * @date 2022-04-14
 */
public interface IAppletExamUserService {
    /**
     * 查询examUser
     *
     * @param joinId examUser主键
     * @return examUser
     */
    AppletExamUser selectAppletExamUserByJoinId(Long joinId);

    /**
     * 查询examUser列表
     *
     * @param appletExamUser examUser
     * @return examUser集合
     */
    List<AppletExamUser> selectAppletExamUserList(AppletExamUser appletExamUser);

    /**
     * 新增examUser
     *
     * @param appletExamUser examUser
     * @return 结果
     */
    int insertAppletExamUser(AppletExamUser appletExamUser);

    /**
     * 修改examUser
     *
     * @param appletExamUser examUser
     * @return 结果
     */
    int updateAppletExamUser(AppletExamUser appletExamUser);

    /**
     * 批量删除examUser
     *
     * @param joinIds 需要删除的examUser主键集合
     * @return 结果
     */
    int deleteAppletExamUserByJoinIds(Long[] joinIds);

    /**
     * 删除examUser信息
     *
     * @param joinId examUser主键
     * @return 结果
     */
    int deleteAppletExamUserByJoinId(Long joinId);



    AppletExamUser selectAppletExamUserByPhone(String userPhone);




    AjaxResult addRecord(AppletExamUser appletExamUser);
}
